﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;

namespace HRProject.Code.DTO
{
    public class BLAudit
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string key;

        public string Key
        {
            get { return key; }
            set { key = value; }
        }
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        private List<BLAuditMode> modes;

        public List<BLAuditMode> Modes
        {
            get { return modes; }
            set { modes = value; }
        }

    }

    public class BLAuditMode
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string modeName;

        public string ModeName
        {
            get { return modeName; }
            set { modeName = value; }
        }
        private string modeKey;

        public string ModeKey
        {
            get { return modeKey; }
            set { modeKey = value; }
        }

        private bool isAllow;

        public bool IsAllowed
        {
            get { return isAllow; }
            set { isAllow = value; }
        }
    }
}
